Upstream sync: 2 commits (8598dc3, 304d812)#136
Merged
brunoborges merged 3 commits intomainfrom Feb 16, 2026
Merged
Conversation
Co-authored-by: brunoborges <129743+brunoborges@users.noreply.github.com>
Co-authored-by: brunoborges <129743+brunoborges@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Sync upstream changes from latest commits
Upstream sync: 2 commits (8598dc3, 304d812)
Feb 16, 2026
brunoborges
approved these changes
Feb 16, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR syncs 2 commits from the upstream github/copilot-sdk repository. The Java SDK already implements stronger session disposal protection than the .NET SDK fix being synced, so this PR only adds a test to verify the scenario. The second upstream commit (RID fallback for bundled CLI) is not applicable since the Java SDK doesn't bundle the CLI executable.
Changes:
- Added test to verify session disposal after client stop doesn't throw exceptions
- Updated
.lastmergeto track the latest upstream commit (304d812)
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/test/java/com/github/copilot/sdk/CopilotClientTest.java | Adds testCloseSessionAfterStoppingClientDoesNotThrow() to verify robust error handling when closing a session after the client's RPC connection has been closed |
| .lastmerge | Updates upstream sync tracking to commit 304d812cd4c98755159da427c6701bfb7e0b7c32 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Syncs 2 commits from github/copilot-sdk (e40d57c...304d812).
Changes
Commit 8598dc3 - Session disposal after client stop
testCloseSessionAfterStoppingClientDoesNotThrow()to verify the scenarioCommit 304d812 - RID fallback for bundled CLI on Linux
Housekeeping
.lastmerge→304d812cd4c98755159da427c6701bfb7e0b7c32Existing Protection
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/graphql/usr/bin/gh gh pr list --head copilot/upstream-sync-2-commits tsx server.ts git .0.18-8/x64/bin/git --show-toplevel java nfig/composer/ve--show-toplevel which curl�� grep git p/bin/which --show-toplevel grep de/node/bin/whic--show-toplevel git(http block)/usr/bin/gh gh pr edit 136 --add-label upstream-sync git cal/bin/which --show-toplevel grep h node ot-s�� server.ts which(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.